import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/pms/pmsSkuOut/list',
method: 'get',
params: params
})
}
export function createPmsSkuOut(data) {
return request({
url: '/pms/pmsSkuOut/create',
method: 'post',
data: data
})
}

export function deletePmsSkuOut(id) {
return request({
url: '/pms/pmsSkuOut/delete/' + id,
method: 'get',
})
}

export function getPmsSkuOut(id) {
return request({
url: '/pms/pmsSkuOut/' + id,
method: 'get',
})
}

export function updatePmsSkuOut(id, data) {
return request({
url: '/pms/pmsSkuOut/update/' + id,
method: 'post',
data: data
})
}
export function getSaleByProduct(params) {
return request({
	url: '/pms/pmsSkuOut/getSaleByProduct',
	method: 'get',
	params: params
	})
}
export function getRealPriceByProduct(params) {
return request({
	url: '/pms/pmsSkuOut/getRealPriceByProduct',
	method: 'get',
	params: params
	})
}
export function getRealPrice(params) {
	return request({
		url: '/pms/pmsSkuOut/getRealPrice',
		method: 'get',
		params: params
		})
	}
export function getRealPriceByPayType(params) {
	return request({
		url: '/pms/pmsSkuOut/getRealPriceByPayType',
		method: 'get',
		params: params
		})
	}



	